package com.niiwoo.civet.mobile.vo.request.bankcard;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

/**
 * Created by wangjichao on 2017/10/16.
 */
@Setter
@Getter
@ApiModel
public class RebindBankCardSubmitRequestVO {
    @ApiModelProperty(value = "银行类型ID", required = false)
    private Long bankTypeId;

    @ApiModelProperty(value = "银行卡号", required = true)
    @NotBlank(message = "银行卡号不能为空")
    private String bankAccountNo;

    @ApiModelProperty(value = "银行预留手机号", required = true)
    @NotBlank(message = "预留手机号号不能为空")
    private String mobileNo;

    @ApiModelProperty(value = "用户换绑描述信息", required = true)
    private String userDesc;

    @ApiModelProperty(value = "操作完成页面跳转地址", required = true)
    private String redirectUrl;

    @ApiModelProperty(value = "文件ID列表", required = true)
    private List<String> fileUrls;

    @ApiModelProperty(value = "访问令牌(H5)")
    private String token;

    @ApiModelProperty(value = "第三方渠道(H5) 1-融360 2-卡牛 3-机构极速借, 默认channel=1")
    private Integer channel;

    @ApiModelProperty(value = "机构CODE,当channel=3,即机构极速借时才有")
    private String orgCode;
}
